<#import "../baseftl/page.ftl" as comm />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>购物车</title>
</head>

<body>
<table>
<tr>
				<td nowrap="nowrap">序号&nbsp;</td>
				<td nowrap="nowrap">订单人&nbsp;</td>
				<td nowrap="nowrap">地址&nbsp;</td>
				<td nowrap="nowrap">电话&nbsp;</td>
				<td nowrap="nowrap">产品&nbsp;</td>
				<td nowrap="nowrap">数量&nbsp;</td>
				<td nowrap="nowrap">状态&nbsp;</td>
				<td nowrap="nowrap">操作&nbsp;</td>
		</tr>
<#if page??>
<#list page.result as list>
    	<tr>
				<td nowrap="nowrap">${page.getFirst()+list_index}&nbsp;</td>
				<td nowrap="nowrap">${list.fromName?default("")}&nbsp;</td>
				<td nowrap="nowrap">${list.fromAddress?default("")}&nbsp;</td>
				<td nowrap="nowrap">${list.fromTelphone?default("")}&nbsp;</td>
				<td nowrap="nowrap">${list.product.variety.name?default("")}&nbsp;</td>
				<td nowrap="nowrap">${list.amount?default("")}&nbsp;</td>
				<td nowrap="nowrap">${list.state?default("")}&nbsp;</td>
				<td nowrap="nowrap">
				<a href="${base}/m/order/input/${list.id?default("")}.shtml">编辑</a>&nbsp;
				<a href="${base}/m/order/delete/${list.id?default("")}.shtml">删除&nbsp;</a>
				</td>
		</tr>
    </#list>
    </#if>
</table>
 <@comm.pages/>
   <@s.actionmessage />
</body>
</html> 
